home *** CD-ROM | disk | FTP | other *** search
- TRANSPOSE(3I) Last changed: 1-6-98
-
-
- NNAAMMEE
- TTRRAANNSSPPOOSSEE - Transposes an array of rank two
-
- SSYYNNOOPPSSIISS
- TTRRAANNSSPPOOSSEE (([MMAATTRRIIXX==]_m_a_t_r_i_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The TTRRAANNSSPPOOSSEE intrinsic function transposes a two-dimensional array.
- It accepts the following argument:
-
- _m_a_t_r_i_x May be of any type and must have rank two
-
- TTRRAANNSSPPOOSSEE is a transformational function. The name of this intrinsic
- cannot be passed as an argument.
-
- RREETTUURRNN VVAALLUUEESS
- The result is an array of the same type and type parameters as _m_a_t_r_i_x,
- with rank two, and shape (_n, _m), where (_m, _n) is the shape of _m_a_t_r_i_x.
- Element (_i, _j) of the result has the value _m_a_t_r_i_x(_j,_i), where
- _i = 1, 2, ..., _n and _j = 1, 2, ..., _m.
-
- EEXXAAMMPPLLEESS
- Assume that array AA is as follows:
-
- | 1 2 3 |
- | 4 5 6 |
- | 7 8 9 |
-
-
- TTRRAANNSSPPOOSSEE((AA)) has the following value:
-
- | 1 4 7 |
- | 2 5 8 |
- | 3 6 9 |
-
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-